package com.woniu.car.parameter;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class StatisticsShopParameter {
    @NotNull(message = "无效的商店信息")
    @Min(value=0,message = "商店参数错误")
    @ApiModelProperty(value="商铺id",example = "0")
    private Integer shopId;
    @Range(min=1999, max=2099,message = "查询时间违规了啊啊啊!")
    @ApiModelProperty(value = "平台收益统计时间年",example = "0")
    private Integer year;
    @Range(min=1, max= 12,message = "查询时间违规了啊啊啊!你知道不啊?")
    @ApiModelProperty(value = "平台收益统计时间月",example = "0")
    private Integer month;
}
